package com.cnsunrun.framwork.common.net;

import com.cnsunrun.framworksimple.mode.TestBean;

import cn.blesslp.pastry.annotations.GET;
import cn.blesslp.pastry.annotations.Param;

/**
 * Created by WQ on 2017/4/20.
 */

public interface CommonApi {
    String ROOT_URL="http://www.china-kids.com/Api/";
    /**
     *返回JavaBean,定义接口对应的方法,传参,以及返回值
     */
    @GET("Forum/Forum/forum_details")
     BaseBean<TestBean> getSomeInfo(
            @Param("forum_id")String forumId,
            @Param("p")String p,
            @Param("password")String password,
            @Param("type")String type,
            @Param("uid")String uid
            );
}
